package com.gg;

import lombok.Getter;

@Getter
public enum CharacterEnums {

    ZHENGHAOYES(0, "账号符合要求！",true),
    ZHANGHAOLENG(1, "账号的长度有问题，请修改！",false),
    ZHENGHAOZHONGWEN(2, "账号不能包含中文！",false),


    ZHENGHAOYESPASSOWD(0, "密码符合要求！",true),
    ZHANGHAOLENGPASSOWD(1, "密码的长度有问题，请修改！",false),
    ZHENGHAOZHONGWENPASSOWD(2, "密码不能包含中文！",false),
    ;
    private Integer code;

    private String message;

    private boolean state;

    CharacterEnums(Integer code, String message,boolean state) {
        this.code = code;
        this.message = message;
        this.state = state;
    }
}
